﻿namespace InDepthDemo.Chapter01.CSharp2
{
    internal class ProductNameComparer : IComparer<Product>
    {
        public int Compare(Product first, Product second)
        {
            return first.Name.CompareTo(second.Name);
        }
    }
}
